// 主题边框文字颜色
$themeBorderColor: #389893;
// 主题背景色
$themeBgColor: #56bdb8;
// 警告色
$themeRangColor: #f4403f;
$darkRangColor: #df2222;
// 浅色
$themeLightColor: #8fe0dd;
// 深色
$themeDarkColor: #0c4946;
// 链接色
$linkBgColor: #4e89f6;
$linkBorderColor: #137cf0;

* {
  box-sizing: border-box;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
}

p {
  padding: 0;
  margin: 0;
}

.index_card {
  padding: 16px;

  .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;

    .left,
    .right {
      font-size: 16px;
      line-height: 24px;
    }
  }
}

.main {
  width: 100%;
  background: #f4f5f6;

  &.table {
    .select_left,
    .select_right {
      user-select: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      position: relative;
      z-index: 8;

      .select_item {
        display: flex;
        align-items: center;
        margin-right: 40px;

        .select_name,
        .selected_name {
          margin-right: 8px;
        }

        .selected_name {
          color: $themeBorderColor;
        }

        .select_img {
          width: 18px;
          height: 18px;
        }
      }

      .select_content0,
      .select_content1 {
        position: absolute;
        top: 32px;
        width: 1026px;
        padding: 13px 0;
        background: #ffffff;
        box-shadow: 0px 2px 20px 0px rgba(181, 181, 181, 0.5);
        border-radius: 4px;
        border: 1px solid #e5e5e5;
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        .content_item,
        .active_item {
          min-width: 80px;
          text-align: center;
          padding: 6px 10px;
        }

        .active_item {
          color: $themeBorderColor;
        }
      }

      .select_content1 {
        transform: translate(120px);
      }

      .select_none {
        display: none;
      }

      .overlay {
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
      }
    }

    .select_right {
      .select_item {
        margin-right: 0;
      }

      .select_content0 {
        right: 0;
      }
    }
  }

  .condition,
  .table_row,
  .table_row_foucs,
  .table_row_start,
  .table_row_center,
  .table_row_end,
  .table_row_between,
  .table_column {
    width: 100%;
    display: flex;
    align-items: center;

    .column_link,
    .column_theme_text,
    .column_text,
    .column_ellipsis,
    .column_info,
    .column_danger,
    .column_tag {
      font-size: 12px;
      line-height: 20px;
      color: #333333;
    }

    .column_ellipsis {
      // height: 300px;
      //1.设置元素的宽度为300像素，可根据实际需要进行调整
      max-width: 350px;
      //2.设置不换行
      white-space: nowrap;
      //3.超出隐藏
      overflow: hidden;
      //4.文本超出绘制小黑圆点（省略号）
      text-overflow: ellipsis;
    }

    .column_tag {
      color: $themeBorderColor;
      margin-left: 20px;
      border-radius: 0px 14px 0px 14px;
      padding: 6px 18px;
      background: rgba(86, 189, 184, 0.1);
    }

    .column_theme_text {
      color: $themeBorderColor;
    }

    .column_link {
      color: $linkBorderColor;
    }

    .column_info {
      color: #909399;
    }

    .column_danger {
      color: $themeRangColor;
    }
  }

  .table_row_foucs {
    cursor: pointer;
  }

  .table_row_start {
    justify-content: flex-start;
  }

  .table_row_center {
    justify-content: center;
  }

  .table_row_end {
    justify-content: flex-end;
  }

  .table_row_between {
    justify-content: space-between;
  }

  .table_column {
    flex-direction: column;
  }

  .mr12 {
    margin-right: 12px !important;
  }

  .ml12 {
    margin-left: 12px !important;
  }

  .ml40 {
    margin-left: 40px;
  }

  .ml80 {
    margin-left: 80px;
  }

  .head_top_right {
    font-size: 14px;
    color: $themeBorderColor;
    line-height: 22px;
  }
}

.f_sb_c {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f_fs_c {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.f_fd_c {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.f_c_c {
  display: flex;
  justify-content: center;
  align-items: center;
}

.f_fs_fe {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.f_fs_fs {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.f_column {
  flex-direction: column;
}

.f_wrap {
  flex-wrap: wrap;
}

.f_1 {
  flex: 1;
}

/* 字体样式 */
.text_22_333,
.text_22_666,
.text_22_999,
.text_22_FFF,
.text_22_red,
.text_22_green,
.text_22_blue,
.text_22_theme {
  font-size: 22px;
  color: #333333;
  line-height: 30px;
}

.text_20_333,
.text_20_666,
.text_20_999,
.text_20_FFF,
.text_20_red,
.text_20_green,
.text_20_blue,
.text_20_theme {
  font-size: 20px;
  color: #333333;
  line-height: 28px;
}

.text_18_333,
.text_18_666,
.text_18_999,
.text_18_FFF,
.text_18_red,
.text_18_green,
.text_18_blue,
.text_18_theme {
  font-size: 18px;
  color: #333333;
  line-height: 26px;
}

.text_16_333,
.text_16_666,
.text_16_999,
.text_16_FFF,
.text_16_red,
.text_16_green,
.text_16_blue,
.text_16_theme {
  font-size: 16px;
  color: #333333;
  line-height: 24px;
}

.text_14_333,
.text_14_666,
.text_14_999,
.text_14_FFF,
.text_14_red,
.text_14_green,
.text_14_blue,
.text_14_theme {
  font-size: 14px;
  color: #333333;
  line-height: 22px;
}

.text_12_333,
.text_12_666,
.text_12_999,
.text_12_FFF,
.text_12_red,
.text_12_green,
.text_12_blue,
.text_12_theme {
  font-size: 12px;
  color: #333333;
  line-height: 20px;
}

.text_22_theme,
.text_20_theme,
.text_18_theme,
.text_16_theme,
.text_14_theme,
.text_12_theme {
  color: $themeBorderColor;
}

.text_22_FFF,
.text_20_FFF,
.text_18_FFF,
.text_16_FFF,
.text_14_FFF,
.text_12_FFF {
  color: #ffffff;
}

.text_22_999,
.text_20_999,
.text_18_999,
.text_16_999,
.text_14_999,
.text_12_999 {
  color: #999999;
}

.text_22_666,
.text_20_666,
.text_18_666,
.text_16_666,
.text_14_666,
.text_12_666 {
  color: #666666;
}

.text_22_green,
.text_20_green,
.text_18_green,
.text_16_green,
.text_14_green,
.text_12_green {
  color: #4fbc70;
}
.text_22_red,
.text_20_red,
.text_18_red,
.text_16_red,
.text_14_red,
.text_12_red {
  color: $themeRangColor;
}

.text_22_blue,
.text_20_blue,
.text_18_blue,
.text_16_blue,
.text_14_blue,
.text_12_blue {
  color: $linkBorderColor;
}

.text_align_j {
  text-align-last: justify;
}

.text_bold {
  font-weight: bold;
}

.mr30 {
  margin-right: 30px;
}

.mb30 {
  margin-bottom: 30px;
}

.ml30 {
  margin-left: 30px;
}

.mt30 {
  margin-top: 30px;
}
.mr28 {
  margin-right: 28px;
}

.mb28 {
  margin-bottom: 28px;
}

.ml28 {
  margin-left: 28px;
}

.mt28 {
  margin-top: 28px;
}
.mr26 {
  margin-right: 26px;
}

.mb26 {
  margin-bottom: 26px;
}

.ml26 {
  margin-left: 26px;
}

.mt26 {
  margin-top: 26px;
}

.mr24 {
  margin-right: 24px;
}

.mb24 {
  margin-bottom: 24px;
}

.ml24 {
  margin-left: 24px;
}

.mt24 {
  margin-top: 24px;
}

.ml20 {
  margin-left: 20px;
}

.mt20 {
  margin-top: 20px;
}

.mb20 {
  margin-bottom: 20px;
}

.mr20 {
  margin-right: 20px;
}

.mt18 {
  margin-top: 18px;
}

.ml18 {
  margin-left: 18px;
}

.mr18 {
  margin-right: 18px;
}

.mb18 {
  margin-bottom: 18px;
}

.mt16 {
  margin-top: 16px;
}

.ml16 {
  margin-left: 16px;
}

.mr16 {
  margin-right: 16px;
}

.mb16 {
  margin-bottom: 16px;
}

.mb16:last-child {
  margin-bottom: 0;
}

.mr14 {
  margin-right: 14px;
}

.mb14 {
  margin-bottom: 14px;
}

.ml14 {
  margin-left: 14px;
}

.mt14 {
  margin-top: 14px;
}

.mr12 {
  margin-right: 12px;
}

.ml12 {
  margin-left: 12px;
}

.mt12 {
  margin-top: 12px;
}

.mb12 {
  margin-bottom: 12px;
}

.mr10 {
  margin-right: 10px;
}

.ml10 {
  margin-left: 10px;
}

.mt10 {
  margin-top: 10px;
}

.mb10 {
  margin-bottom: 10px;
}
.mr8 {
  margin-right: 8px;
}

.ml8 {
  margin-left: 8px;
}

.mt8 {
  margin-top: 8px;
}

.mb8 {
  margin-bottom: 8px;
}

.mr6 {
  margin-right: 6px;
}

.ml6 {
  margin-left: 6px;
}

.mt6 {
  margin-top: 6px;
}

.mb6 {
  margin-bottom: 6px;
}

.mr4 {
  margin-right: 4px;
}

.ml4 {
  margin-left: 4px;
}

.mt4 {
  margin-top: 4px;
}

.mb4 {
  margin-bottom: 4px;
}

.mr0 {
  margin-right: 0px;
}

.ml0 {
  margin-left: 0px;
}

.mt0 {
  margin-top: 0px;
}

.mb0 {
  margin-bottom: 0px;
}

.pb40 {
  padding-bottom: 40px;
}

.dialog_title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: $themeBgColor;
}

// 自定义描述列表样式
::v-deep .el-descriptions__title {
  display: flex;
  align-items: center;
}
::v-deep .el-descriptions-row td:last-child {
  width: 420px !important;
}
::v-deep .el-descriptions__title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 12px;
  background: $themeBgColor;
  margin-right: 10px;
}
